package com.ruyuan.user.server.controller.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author xx
 */
@Data
public class GrantDataAuthorityRequest implements Serializable {
    private static final long serialVersionUID = 1429773081209363559L;

    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    private List<Long> authorityIdList;

}
